package system.common;

import java.text.SimpleDateFormat;
import java.util.Date;

public class Constants {
	public static long currentTime = System.currentTimeMillis();
	public static SimpleDateFormat simDf = new SimpleDateFormat("yyyyMMddHHmmss");
	public static SimpleDateFormat simDf_Day = new SimpleDateFormat("yyyyMMdd");
	public static SimpleDateFormat simDf_Hour = new SimpleDateFormat("yyyyMMddHH");
	public static SimpleDateFormat simDf_Min = new SimpleDateFormat("yyyyMMddHHmm");
	
	public static final long maxFileSize = 1024 * 1024 * 100; // 1024 * 1024 * 490
	public static final String fileNameExtension = ".txt";
	public static final String delimiter = "|";
	public static final String fileNamePrefix = "_" + simDf.format(new Date(currentTime)) + "_";
	
	public static float rsTime = 0;
	public static float fileMakeTime = 0;
	public static float fileCopyTime = 0;
	public static long totalRecord = 0;
	
	/* file naming */
	public static final String WEBKEEPER_01 = "WEBKEEPER_01";
	public static final String WEBKEEPER_02 = "WEBKEEPER_02";
	public static final String WEBKEEPER_MIGRATE_01 = "WEBKEEPER_MIGRATE_01";
	public static final String WEBKEEPER_MIGRATE_02 = "WEBKEEPER_MIGRATE_02";
	public static final String MSG_I_01 = "MSG_I_01";
	public static final String MSG_I_02 = "MSG_I_02";
	public static final String MSG_I_03 = "MSG_I_03";
	public static final String DB_I_01 = "DB_I_01";
	public static final String PRIVACY_I_01 = "PRIVACY_I_01";
	public static final String NET_KEY_01 = "NET_KEY_01";
	public static final String NET_KEY_02 = "NET_KEY_02";
	public static final String REDCASTLE_01 = "REDCASTLE_01";
	public static final String REDCASTLE_02 = "REDCASTLE_02";
	public static final String REDCASTLE_03 = "REDCASTLE_03";
	public static final String POWERBROKER_01 = "POWERBROKER_01";
	public static final String POWERBROKER_02 = "POWERBROKER_02";
	public static final String TX_LOGGING_01 = "TX_LOGGING_01";
	public static final String PORTAL_LOGIN_01 = "PORTAL_LOGIN_01";
	public static final String PORTAL_LOGIN_02 = "PORTAL_LOGIN_02";
	public static final String IDESK_01 = "IDESK_01";

	/* history */
	public static final String WEBKEEPER_01_History = "D:/SFSIEM_DB/001_WEBKEEPER/001_WEBKEEPER_42_6_110_133/history/";
	public static final String WEBKEEPER_02_History = "D:/SFSIEM_DB/001_WEBKEEPER/001_WEBKEEPER_42_6_110_133/history/";
	public static final String WEBKEEPER_MIGRATE_01_History = "D:/SFSIEM_DB/001_WEBKEEPER/002_WEBKEEPER_MIGRATE_42_6_110_133/history/";
	public static final String WEBKEEPER_MIGRATE_02_History = "D:/SFSIEM_DB/001_WEBKEEPER/002_WEBKEEPER_MIGRATE_42_6_110_133/history/";
	public static final String MSG_I_01_History = "D:/SFSIEM_DB/002_MSG_I/001_MSG_I_42_6_110_134/history/";
	public static final String MSG_I_02_History = "D:/SFSIEM_DB/002_MSG_I/001_MSG_I_42_6_110_134/history/";
	public static final String MSG_I_03_History = "D:/SFSIEM_DB/002_MSG_I/001_MSG_I_42_6_110_134/history/";
	public static final String DB_I_01_History = "D:/SFSIEM_DB/003_DB_I/001_DB_I_42_4_166_241/history/";
	public static final String PRIVACY_I_01_History = "D:/SFSIEM_DB/004_PRIVACY_I/001_PRIVACY_I_42_1_54_77/history/";
	public static final String NET_KEY_01_History = "D:/SFSIEM_DB/005_NET_KEY/001_NET_KEY_42_1_53_101/history/";
	public static final String NET_KEY_02_History = "D:/SFSIEM_DB/005_NET_KEY/002_NET_KEY_42_1_53_102/history/";
	public static final String REDCASTLE_01_History = "D:/SFSIEM_DB/006_REDCASTLE/001_REDCASTLE_42_1_52_45/history/";
	public static final String REDCASTLE_02_History = "D:/SFSIEM_DB/006_REDCASTLE/001_REDCASTLE_42_1_52_45/history/";
	public static final String REDCASTLE_03_History = "D:/SFSIEM_DB/006_REDCASTLE/001_REDCASTLE_42_1_52_45/history/";
	public static final String POWERBROKER_01_History = "D:/SFSIEM_DB/007_POWERBROKER/001_POWERBROKER_42_8_164_54/history/";
	public static final String POWERBROKER_02_History = "D:/SFSIEM_DB/007_POWERBROKER/001_POWERBROKER_42_8_164_54/history/";
	public static final String TX_LOGGING_01_History = "D:/SFSIEM_DB/008_TX_LOGGING/001_TX_LOGGING_42_6_52_135/history/";
	public static final String PORTAL_LOGIN_01_History = "D:/SFSIEM_DB/009_PORTAL_LOGIN/001_PORTAL_LOGIN_42_1_153_53/history/";
	public static final String PORTAL_LOGIN_02_History = "D:/SFSIEM_DB/009_PORTAL_LOGIN/002_PORTAL_LOGIN_42_1_153_54/history/";
	public static final String IDESK_01_History = "D:/SFSIEM_DB/010_IDESK/001_IDESK_42_8_53_11/history/";
	
	/* current */
	public static final String WEBKEEPER_01_Current = "D:/SFSIEM_DB/001_WEBKEEPER/001_WEBKEEPER_42_6_110_133/";
	public static final String WEBKEEPER_02_Current = "D:/SFSIEM_DB/001_WEBKEEPER/001_WEBKEEPER_42_6_110_133/";
	public static final String WEBKEEPER_MIGRATE_01_Current = "D:/SFSIEM_DB/001_WEBKEEPER/002_WEBKEEPER_MIGRATE_42_6_110_133/";
	public static final String WEBKEEPER_MIGRATE_02_Current = "D:/SFSIEM_DB/001_WEBKEEPER/002_WEBKEEPER_MIGRATE_42_6_110_133/";
	public static final String MSG_I_01_Current = "D:/SFSIEM_DB/002_MSG_I/001_MSG_I_42_6_110_134/";
	public static final String MSG_I_02_Current = "D:/SFSIEM_DB/002_MSG_I/001_MSG_I_42_6_110_134/";
	public static final String MSG_I_03_Current = "D:/SFSIEM_DB/002_MSG_I/001_MSG_I_42_6_110_134/";
	public static final String DB_I_01_Current = "D:/SFSIEM_DB/003_DB_I/001_DB_I_42_4_166_241/";
	public static final String PRIVACY_I_01_Current = "D:/SFSIEM_DB/004_PRIVACY_I/001_PRIVACY_I_42_1_54_77/";
	public static final String NET_KEY_01_Current = "D:/SFSIEM_DB/005_NET_KEY/001_NET_KEY_42_1_53_101/";
	public static final String NET_KEY_02_Current = "D:/SFSIEM_DB/005_NET_KEY/002_NET_KEY_42_1_53_102/";
	public static final String REDCASTLE_01_Current = "D:/SFSIEM_DB/006_REDCASTLE/001_REDCASTLE_42_1_52_45/";
	public static final String REDCASTLE_02_Current = "D:/SFSIEM_DB/006_REDCASTLE/001_REDCASTLE_42_1_52_45/";
	public static final String REDCASTLE_03_Current = "D:/SFSIEM_DB/006_REDCASTLE/001_REDCASTLE_42_1_52_45/";
	public static final String POWERBROKER_01_Current = "D:/SFSIEM_DB/007_POWERBROKER/001_POWERBROKER_42_8_164_54/";
	public static final String POWERBROKER_02_Current = "D:/SFSIEM_DB/007_POWERBROKER/001_POWERBROKER_42_8_164_54/";
	public static final String TX_LOGGING_01_Current = "D:/SFSIEM_DB/008_TX_LOGGING/001_TX_LOGGING_42_6_52_135/";
	public static final String PORTAL_LOGIN_01_Current = "D:/SFSIEM_DB/009_PORTAL_LOGIN/001_PORTAL_LOGIN_42_1_153_53/";
	public static final String PORTAL_LOGIN_02_Current = "D:/SFSIEM_DB/009_PORTAL_LOGIN/002_PORTAL_LOGIN_42_1_153_54/";
	public static final String IDESK_01_Current = "D:/SFSIEM_DB/010_IDESK/001_IDESK_42_8_53_11/state/";
}
